home *** CD-ROM | disk | FTP | other *** search
- Path: news.rotterdam.luna.net!news
- From: poing@luna.nl (Paul van der Valk)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: RTG/rtg.library question
- Date: 7 Mar 1996 18:48:30 GMT
- Organization: Luna Internet Services
- Message-ID: <1060.6640T1147T2687@luna.nl>
- References: <601.6639T1270T97@luna.nl> <DnwA2z.83z@cix.compulink.co.uk>
- NNTP-Posting-Host: 08-static-a.rotterdam.luna.net
- X-Newsreader: THOR 2.1 (Amiga;TCP/IP beta 5)
-
-
- Jolyon Ralph wrote:
-
- >> Hopefully someone can help me with the following problem. I have a
- >> planar screen that needs to be copied to an RTG screen. The source
- >> 'screen' is one plane deep and possibly located in fastmem.
-
- >With 1 bitplane your data is both planar and chunky at the same time
- >(there's no difference)!
-
- Life ain't that simple :) As an example, here is a chunky presentation
- of a diagonal line:
-
- 1,0,0,0,0,0,0,0
- 0,1,0,0,0,0,0,0
- 0,0,1,0,0,0,0,0
- 0,0,0,1,0,0,0,0
- 0,0,0,0,1,0,0,0
-
- The same image in planar mode looks like:
-
- 0x80
- 0x40
- 0x20
- 0x10
- 0x08
-
- >Therefore, you shouldn't have a problem.
-
- I'm not really having a problem with the planar <-> chunky conversion but
- with the adressing of the target screen. I/we really need something like
- GimmeBitmap() that works in an RTG environment. Using the OS-drawing routines
- just doesn't cut it in all cases. Once there is a good GimmeBitmap() function
- it becomes worthwile to program layers around it. I don't like the idea of
- programming something that only runs under ECS/AGA.
-
-
- Paul
-
-
-